package com.teacher.service;

import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.innovativeundertakingtask.InnovativeUndertakingTaskAddDto;
import com.teacher.pojo.dto.innovativeundertakingtask.InnovativeUndertakingTaskUpdateDto;
import com.teacher.pojo.entity.InnovativeUndertakingTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.innovativeundertakingtask.InnovativeUndertakingTaskGetVo;

/**
 * <p>
 * 创新创业认定 一条 0.5 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-13
 */
public interface IInnovativeUndertakingTaskService extends IService<InnovativeUndertakingTask> {

    /**
     * 发起创新创业认定审批流程
     *
     * @param dto
     * @return
     */
    CommonResult<String> add(InnovativeUndertakingTaskAddDto dto);

    /**
     * 更新流程
     *
     * @param dto
     * @return
     */
    CommonResult<String> updateInfo(InnovativeUndertakingTaskUpdateDto dto);

    /**
     * 获取详情
     *
     * @param id
     * @return
     */
    CommonResult<InnovativeUndertakingTaskGetVo> getDetails(Long id);
}
